package com.ruoyi.project.emr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 病历对象 emr_medical_record
 *
 * @author gzu
 * @date 2023-07-22
 */
public class EmrMedicalRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病历主键 */
    private String id;

    /** 病历号 */
    @Excel(name = "病历号")
    private String number;

    /** 病人编号 */
    @Excel(name = "病人编号")
    private Long patientId;

    /** 医生编号 */
    @Excel(name = "医生编号")
    private Long doctorId;

    /** 主述 */
    @Excel(name = "主述")
    private String priDesc;

    /** 现有病史 */
    @Excel(name = "现有病史")
    private String presentIllness;

    /** 现病史治疗情况 */
    @Excel(name = "现病史治疗情况")
    private String presentMedicalCondition;

    /** 既往病史 */
    @Excel(name = "既往病史")
    private String PMH;

    /** 过敏史 */
    @Excel(name = "过敏史")
    private String allergy;

    /** 体格检查 */
    @Excel(name = "体格检查")
    private String healthCheckup;

    /** 检查建议 */
    @Excel(name = "检查建议")
    private String checkAdvice;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String attention;

    /** 会诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "会诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getNumber()
    {
        return number;
    }
    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }
    public void setPriDesc(String priDesc)
    {
        this.priDesc = priDesc;
    }

    public String getPriDesc()
    {
        return priDesc;
    }
    public void setPresentIllness(String presentIllness)
    {
        this.presentIllness = presentIllness;
    }

    public String getPresentIllness()
    {
        return presentIllness;
    }
    public void setPresentMedicalCondition(String presentMedicalCondition)
    {
        this.presentMedicalCondition = presentMedicalCondition;
    }

    public String getPresentMedicalCondition()
    {
        return presentMedicalCondition;
    }
    public void setPMH(String PMH)
    {
        this.PMH = PMH;
    }

    public String getPMH()
    {
        return PMH;
    }
    public void setAllergy(String allergy)
    {
        this.allergy = allergy;
    }

    public String getAllergy()
    {
        return allergy;
    }
    public void setHealthCheckup(String healthCheckup)
    {
        this.healthCheckup = healthCheckup;
    }

    public String getHealthCheckup()
    {
        return healthCheckup;
    }
    public void setCheckAdvice(String checkAdvice)
    {
        this.checkAdvice = checkAdvice;
    }

    public String getCheckAdvice()
    {
        return checkAdvice;
    }
    public void setAttention(String attention)
    {
        this.attention = attention;
    }

    public String getAttention()
    {
        return attention;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("patientId", getPatientId())
            .append("doctorId", getDoctorId())
            .append("priDesc", getPriDesc())
            .append("presentIllness", getPresentIllness())
            .append("presentMedicalCondition", getPresentMedicalCondition())
            .append("PMH", getPMH())
            .append("allergy", getAllergy())
            .append("healthCheckup", getHealthCheckup())
            .append("checkAdvice", getCheckAdvice())
            .append("attention", getAttention())
            .append("date", getDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
